package net.oschina.app.fragment.favorite;

import net.oschina.app.adapter.TabVPAdpater;
import net.oschina.app.fragment.BaseTabPageFragment;
import net.oschina.app.fragment.favorite.followfans.FFansFragment;
import net.oschina.app.fragment.favorite.followfans.FFavorFragment;

/**
 * Created by YL on 2017/4/2.
 */
public class FansFragment extends BaseTabPageFragment {
    @Override
    protected int getFirstItem() {
        return getArguments().getInt("index");
    }

    @Override
    public void setupTab(TabVPAdpater adpater) {
        adpater.addTab("关注",FFavorFragment.class,null);
        adpater.addTab("粉丝",FFansFragment.class,null);
    }
}
